package com.mywiki.service;

import com.mywiki.domain.Demo;
import com.mywiki.domain.Test;
import com.mywiki.mapper.DemoMapper;
import com.mywiki.mapper.TestMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * describe:
 *
 * @author: robin
 * @date 2024/1/19 11:22
 */
@Service
public class DemoService {

    @Resource
    private DemoMapper demoMapper;

    public List<Demo> list(){
        return demoMapper.selectByExample(null);
    }

}
